//控制播放页面是否出现
const initstate = false
export default function (state = initstate, action) {
    const { type, payload } = action
    switch (type) {
        case "SHOW_PLAY":
            return payload
        default:
            return state
    }
}